package com.base.factory.factorymethod.factory.impl;

import com.base.factory.factorymethod.factory.ComputerFactory;
import com.base.factory.factorymethod.service.ComputerService;
import com.base.factory.factorymethod.service.impl.Dell;
import com.base.factory.factorymethod.service.impl.ThinkPad;

/**
 * Created by xingyuchao on 2017-06-18.
 * 生产ThinkPad的工厂
 */
public class ThinkPadFactory implements ComputerFactory {
    @Override
    public ComputerService getComputer() {
            return new ThinkPad();
    }
}
